package tests;

import apps.Client;
import apps.CreditCard;

public class TestCreditCard
{
    public static void main(String[] args)
    {
	Client client1 = new Client();
	client1.name = "Fernando Silva";
	client1.code = 1;

	CreditCard creditCard1 = new CreditCard(42200400);
	creditCard1.expirationDate = "25/04/2012";
	creditCard1.client = client1;
	creditCard1.client.name = "Fernando de O. e Silva";

	CreditCard creditCard2 = new CreditCard(12345678);
	creditCard2.expirationDate = "30/02/2025";

	System.out.println(creditCard1.number);
	System.out.println(creditCard1.expirationDate);
	System.out.println(creditCard1.client.name);

	System.out.println(creditCard2.number);
	System.out.println(creditCard2.expirationDate);
    }
}
